#include "Signal.h"
#include <string>

using namespace std;


Signal::Signal(void)
{
}

Signal::Signal(string bez){
	this->name = bez;
}

int Signal::getAnzahlZiele(){
	return this->Ziele.size();
}

string Signal::getQuelle(){
	return this->quelle;
}

string Signal::getZiel(int pos){
	return this->Ziele.at(pos);
}

string Signal::getName(){
	return this->name;
}

Signal::signalTyp Signal::getSignalTyp(){
	return this->typ;
}

void Signal::setQuelle(string gatterName){
	this->quelle = gatterName;
}

void Signal::zielHinzufuegen(string gatterName){
	this->Ziele.push_back(gatterName);
}

void Signal::setSignalTyp(Signal::signalTyp st){
	this->typ = st;
}

Signal::~Signal(void)
{
}